/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wat.ziszcommon.transport;

/**
 *
 * @author tarni
 */
public class MessageUsrSession extends Message {

   public static enum Action {
      LOGIN, KEEP_ALIVE, LOGOUT
   };
   
   private String userName;
   private String password;
   private Action action;

   public MessageUsrSession(String sessionID, String userName, String password, Action act) {
      super(sessionID);
      this.userName = userName;
      this.password = password;
      this.action = act;
   }

   public String getUserName() {
      return userName;
   }

   public String getPassword() {
      return password;
   }

   public Action getAction() {
      return action;
   }

}
